package xiaoyang.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import xiaoyang.dao.Backend_userMapper;
import xiaoyang.pojo.Backend_user;
import xiaoyang.service.Backend_userService;

import javax.annotation.Resource;

@Service
@Transactional
public class Backend_userServiceImpl implements Backend_userService {
    @Resource
    private Backend_userMapper backendUserMapper;
    public Backend_user loginBackend(String userCode, String userPassword) {
        return backendUserMapper.loginBackend(userCode,userPassword);
    }
}
